🌎 rns.kin.earth git 🌍
Commit 3fdfe93ec744d0cd5026c4096bca3c1092777608
Parents : a9538e9
Author : Mark Qvist <bc7291552be7a58f361522990465165c>
Signature : T66BB85Valid, signed by author
Date : 2026-08-24T01:26:24+02:00
Don't loop on attached interface packets
Changes
Diff
diff --git a/RNS/Transport.py b/RNS/Transport.py
index 279814f7..333dd7c1 100755
--- a/RNS/Transport.py
+++ b/RNS/Transport.py
@@ -1431,8 +1431,11 @@ class Transport:
# interface, or belongs to a link.
else:
stored_hash = False
- for interface in Transport.interfaces:
- if interface.OUT:
+ if packet.attached_interface: potential_interfaces = [packet.attached_interface]
+ else: potential_interfaces = Transport.interfaces
+
+ for interface in potential_interfaces:
+ if interface.OUT and interface.online:
should_transmit = True
if packet.destination.type == RNS.Destination.LINK:
Served by rngit 1.5.2 - Generated in 0.05s